Repository navigation
docs: brand settings follow today's ship (Program ID, two payment cards, link parameter, attribution window) - #147
Merged
Merged
Conversation
…ds, partner link parameter, attribution window Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Brand-side docs follow what shipped to prod on 2026-10-16.
brand/settings.mdx: Business shows Program ID (read-only, Copy); Tracking has the Partner link parameter; Payments is two cards; Refer a brand includes Invite via email and the referred brands.brand/quickstart/setup-program.mdx:app/affitor-provider.tsx; tracker states and the Continue rule follow today's step; new Partner link parameter paragraph.errors.mdxnames the settingattribution_window_days(shown as Attribution window);inviting-partnerssays attribution window.?via=next to?aff=: attribution (cookie section and scenario table), click-tracking, tracking-overview, glossary,public/docs/skill.md.Not in this PR:
--cookie-durationwrites onlycookie_window_days, which tracking never reads (CMSsrc/api/cli/services/cli.ts:78):brand/cli/*still says default 90. Needs a product decision first.setup-payments.pngis no longer referenced).No terms or money wording changes.
Why
Docs should describe the shipped brand setup flow, requested by the product team.
How verified
Labels were verified in the prod JS chunks ("Program ID", "Attribution window"). Sources (affiliate-dashboard origin/main 0b3d39dd, affiliate-cms origin/main 0f7bbaa0):
src/components/AffiliateManagement/Advertiser/Setup/BusinessStep.tsx:234-252.Setup/PaymentsStep.tsx:51-80(two cards, done when either),:223-224,:233,:248,:255,:266,:274,277,:306(both warning),:325.Setup/TrackingStep.tsx:143,153-165,231-234,259-267;Mcp/ConnectSheet.tsx:67-74,170;src/lib/trackerSnippets.ts:49-60.Setup/LinkParamField.tsx:92-111; CMSsrc/utils/partner-link.ts:14-28(LINK_PARAM_VIA_SINCE = 2026-10-16T00:00:00Z, older programs locked to aff); trackerpublic/js/affitor-tracker.js:126-133(aff, else via). The npm SDK 2.1.3 loads the same hosted tracker.src/api/affiliate-commission/services/attribution-window.ts:21,36-40(attribution_window_days, default 60); click responsecookie_window_dayscarries the effective value (affiliate-tracking/controllers/v1-tracking.ts:597-611).🤖 Generated with Claude Code